Inheritance diagram for IShMenuUtilities:

Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | EnableCheckMenu (int32 anAction, boolean canDo, boolean checkIt)=0 |
| virtual MCCOMErr MCCOMAPI | EnableMenuAction (int32 anAction, boolean canDo)=0 |
| virtual MCCOMErr MCCOMAPI | CreateMenu (TMFMenuInfo &inInfo, IMFMenu **outMenu)=0 |
| virtual MCCOMErr MCCOMAPI | MenuActionToMenuItem (int32 action, int16 &menu, int16 &item)=0 |
| virtual int32 MCCOMAPI | MenuActionFromMenuItem (int16 commandName, int16 item)=0 |
| virtual MCCOMErr MCCOMAPI | DeleteMenuItem (int16 menu, int16 item)=0 |
| virtual MCCOMErr MCCOMAPI | AddMenuItem (int16 menu, TMCString &commandName, int16 after, int32 action)=0 |
| virtual MCCOMErr MCCOMAPI | AddSubMenuItem (int16 menu, TMCString &commandName, int16 submenu, int16 after)=0 |
| virtual int16 MCCOMAPI | GetItemCount (int16 menu)=0 |
| virtual MCCOMErr MCCOMAPI | FindMenuByID (int16 menu, IMFMenu **outMenu)=0 |
| virtual MCCOMErr MCCOMAPI | InvalidateMenus ()=0 |
| virtual MCCOMErr MCCOMAPI | EnableGlobalTool (int16 inToolID, boolean inIsEnabled, boolean inIsPressed)=0 |
| virtual MCCOMErr MCCOMAPI | GetCurrentGlobalTool (int16 &outToolID)=0 |
| virtual MCCOMErr MCCOMAPI | SetCurrentGlobalTool (int16 inToolID, boolean inInvalidate)=0 |
|
||||||||||||||||||||
|
Adds a new menu item to the menus.
|
|
||||||||||||||||||||
|
Adds a sub-menu item to a given menu item. This allows for nested menus, as in Carrara's View->Zoom menu with its various zoom factors as sub-menus.
|
|
||||||||||||
|
Creates a menu (which can be either a menu or a menu item).
|
|
||||||||||||
|
Removes a menu item.
|
|
||||||||||||||||
|
Enables a menu action, and determines if the menu item should have a check next to it.
|
|
||||||||||||||||
|
Enables or disables a global tool item.
|
|
||||||||||||
|
Enables or disables a menu action
|
|
||||||||||||
|
Finds a menu item by its menu ID
|
|
|
Returns the ID of the current active global tool.
|
|
|
Gets the number of items in a given menu.
|
|
|
Invalidates menus so that SelfPrepareMenus will be called throughout the application at the next event loop. Call this if the context has changed, and menus should be updated (for example, if you do something like changing the selection in a SelfMouseDown() but do not post any actions). |
|
||||||||||||
|
Given a menu number and item number, returns the corresponding menu action ID.
|
|
||||||||||||||||
|
Given a menu action number, returns the corresponding menu and item index
|
|
||||||||||||
|
Sets the current active global tool.
|
1.4.5